package com.android.inestpin.model.member;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class ScoreDetailList {

    /**
     * data : {"score_types":{"0":"其他类型","1":"签到积分","2":"注册积分","5":"团购积分","6":"积分兑换"},"score":{"mid":"127","total_left":"4","total_amount":"4","total_cost":"0","last_sign":"1509419588","continue_sign":"1","score_0":"0","score_1":"4","score_2":"0","score_3":"0","score_4":"0","score_5":"0","u_time":"1509419588","score_6":"0","score_7":"0"},"list":[{"id":"2732","mid":"127","type":"1","amount":"2","remark":"第1天连续签到积分","c_time":"1509419588","score_type":"签到积分"},{"id":"2281","mid":"127","type":"1","amount":"2","remark":"第1天连续签到积分","c_time":"1508910697","score_type":"签到积分"}],"totalCounts":"2","totalPages":1}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1509428731
     */

    private DataBean data;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * score_types : {"0":"其他类型","1":"签到积分","2":"注册积分","5":"团购积分","6":"积分兑换"}
         * score : {"mid":"127","total_left":"4","total_amount":"4","total_cost":"0","last_sign":"1509419588","continue_sign":"1","score_0":"0","score_1":"4","score_2":"0","score_3":"0","score_4":"0","score_5":"0","u_time":"1509419588","score_6":"0","score_7":"0"}
         * list : [{"id":"2732","mid":"127","type":"1","amount":"2","remark":"第1天连续签到积分","c_time":"1509419588","score_type":"签到积分"},{"id":"2281","mid":"127","type":"1","amount":"2","remark":"第1天连续签到积分","c_time":"1508910697","score_type":"签到积分"}]
         * totalCounts : 2
         * totalPages : 1
         */

        private ScoreTypesBean score_types;
        private ScoreBean score;
        private String totalCounts;
        private int totalPages;
        private List<ListBean> list;

        public ScoreTypesBean getScore_types() {
            return score_types;
        }

        public void setScore_types(ScoreTypesBean score_types) {
            this.score_types = score_types;
        }

        public ScoreBean getScore() {
            return score;
        }

        public void setScore(ScoreBean score) {
            this.score = score;
        }

        public String getTotalCounts() {
            return totalCounts;
        }

        public void setTotalCounts(String totalCounts) {
            this.totalCounts = totalCounts;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ScoreTypesBean {
            /**
             * 0 : 其他类型
             * 1 : 签到积分
             * 2 : 注册积分
             * 5 : 团购积分
             * 6 : 积分兑换
             */

            @SerializedName("0")
            private String _$0;
            @SerializedName("1")
            private String _$1;
            @SerializedName("2")
            private String _$2;
            @SerializedName("5")
            private String _$5;
            @SerializedName("6")
            private String _$6;

            public String get_$0() {
                return _$0;
            }

            public void set_$0(String _$0) {
                this._$0 = _$0;
            }

            public String get_$1() {
                return _$1;
            }

            public void set_$1(String _$1) {
                this._$1 = _$1;
            }

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$5() {
                return _$5;
            }

            public void set_$5(String _$5) {
                this._$5 = _$5;
            }

            public String get_$6() {
                return _$6;
            }

            public void set_$6(String _$6) {
                this._$6 = _$6;
            }
        }

        public static class ScoreBean {
            /**
             * mid : 127
             * total_left : 4
             * total_amount : 4
             * total_cost : 0
             * last_sign : 1509419588
             * continue_sign : 1
             * score_0 : 0
             * score_1 : 4
             * score_2 : 0
             * score_3 : 0
             * score_4 : 0
             * score_5 : 0
             * u_time : 1509419588
             * score_6 : 0
             * score_7 : 0
             */

            private String mid;
            private String total_left;
            private String total_amount;
            private String total_cost;
            private String last_sign;
            private String continue_sign;
            private String score_0;
            private String score_1;
            private String score_2;
            private String score_3;
            private String score_4;
            private String score_5;
            private String u_time;
            private String score_6;
            private String score_7;

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getTotal_left() {
                return total_left;
            }

            public void setTotal_left(String total_left) {
                this.total_left = total_left;
            }

            public String getTotal_amount() {
                return total_amount;
            }

            public void setTotal_amount(String total_amount) {
                this.total_amount = total_amount;
            }

            public String getTotal_cost() {
                return total_cost;
            }

            public void setTotal_cost(String total_cost) {
                this.total_cost = total_cost;
            }

            public String getLast_sign() {
                return last_sign;
            }

            public void setLast_sign(String last_sign) {
                this.last_sign = last_sign;
            }

            public String getContinue_sign() {
                return continue_sign;
            }

            public void setContinue_sign(String continue_sign) {
                this.continue_sign = continue_sign;
            }

            public String getScore_0() {
                return score_0;
            }

            public void setScore_0(String score_0) {
                this.score_0 = score_0;
            }

            public String getScore_1() {
                return score_1;
            }

            public void setScore_1(String score_1) {
                this.score_1 = score_1;
            }

            public String getScore_2() {
                return score_2;
            }

            public void setScore_2(String score_2) {
                this.score_2 = score_2;
            }

            public String getScore_3() {
                return score_3;
            }

            public void setScore_3(String score_3) {
                this.score_3 = score_3;
            }

            public String getScore_4() {
                return score_4;
            }

            public void setScore_4(String score_4) {
                this.score_4 = score_4;
            }

            public String getScore_5() {
                return score_5;
            }

            public void setScore_5(String score_5) {
                this.score_5 = score_5;
            }

            public String getU_time() {
                return u_time;
            }

            public void setU_time(String u_time) {
                this.u_time = u_time;
            }

            public String getScore_6() {
                return score_6;
            }

            public void setScore_6(String score_6) {
                this.score_6 = score_6;
            }

            public String getScore_7() {
                return score_7;
            }

            public void setScore_7(String score_7) {
                this.score_7 = score_7;
            }
        }

        public static class ListBean {
            /**
             * id : 2732
             * mid : 127
             * type : 1
             * amount : 2
             * remark : 第1天连续签到积分
             * c_time : 1509419588
             * score_type : 签到积分
             */

            private String id;
            private String mid;
            private String type;
            private String amount;
            private String remark;
            private String c_time;
            private String score_type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getScore_type() {
                return score_type;
            }

            public void setScore_type(String score_type) {
                this.score_type = score_type;
            }
        }
    }
}
